package com.dyy.proxy;

import com.dyy.proxy.service.AdminService;
import com.dyy.proxy.service.impl.AdminServiceImpl;

/**
 * @author dingyy@jccfc.com
 * @since 2021/12/12 21:54
 */
public class StaticProxyTest {

    public static void main(String[] args) {
        AdminService adminService = new AdminServiceImpl();
        AdminServiceProxy serviceProxy = new AdminServiceProxy(adminService);
        serviceProxy.update();
        System.out.println("======================================");
        serviceProxy.find();
    }
}
